package cn.edu.sctu.sctu_lysd.biz;

import cn.edu.sctu.sctu_lysd.base.BasePresenter;
import cn.edu.sctu.sctu_lysd.base.BaseView;
import cn.edu.sctu.sctu_lysd.bean.ParcelData;

/**
 * Created by wangfuxin on 2017-04-14.
 */

public interface MyAcceptBiz {

    interface Presenter extends BasePresenter {
        void getOrder(long parcelId);

        void finishParcel(long parcelId);



    }


    interface View extends BaseView<Presenter> {

        void getOrderSuccess(ParcelData data);

        void getOrderFailed();

        void finishParcelSuccess();
        void finishParcelFailed(int message);
    }

}
